//*****************************************************************************
// JFab (http://code.google.com/p/jfab)
// Copyright (c) 2011-2012 JFab.org
// Admin jfab@jeffreythompson.net
//
// See the file "LICENSE.txt" for information on usage and redistribution of
// this file, and for a DISCLAIMER OF ALL WARRANTIES.
//*****************************************************************************

package org.jfab.swingui;

import java.awt.event.ActionEvent;

/**
 * Defines methods required by an action performer.
 */
public interface ActionPerformer
{
    /**
     * Perform the about action.
     * 
     * @param event Event.
     */
    void aboutActionPerformed(ActionEvent event);

    /**
     * Perform the add action.
     * 
     * @param event Event.
     */
    void addNodeActionPerformed(ActionEvent event);

    /**
     * Perform the collapse all action.
     * 
     * @param event Event.
     */
    void collapseAllActionPerformed(ActionEvent event);

    /**
     * Perform the expand all action.
     * 
     * @param event Event.
     */
    void expandAllActionPerformed(ActionEvent event);

    /**
     * Perform the generate action.
     * 
     * @param event Event.
     */
    void generateActionPerformed(ActionEvent event);

    /**
     * Perform the new action.
     * 
     * @param event Event.
     */
    void newActionPerformed(ActionEvent event);

    /**
     * Perform the open action.
     * 
     * @param event Event.
     */
    void openActionPerformed(ActionEvent event);

    /**
     * Perform the remove action.
     * 
     * @param event Event.
     */
    void removeNodeActionPerformed(ActionEvent event);

    /**
     * Perform the save action.
     * 
     * @param event Event.
     */
    void saveActionPerformed(ActionEvent event);

    /**
     * Perform the open action.
     * 
     * @param event Event.
     */
    void saveAsActionPerformed(ActionEvent event);

    /**
     * Perform the save code generator object action.
     * 
     * @param event Event.
     */
    void saveCgObjectActionPerformed(ActionEvent event);
}
